<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={dede:global.cfg_soft_lang/}" />
<title>{dede:global.cfg_webname/}</title>
<meta name="description" content="{dede:global.cfg_description/}" />
<meta name="keywords" content="{dede:global.cfg_keywords/}" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,user-scalable=0" name="viewport">     
<meta content="yes" name="apple-mobile-web-app-capable">     
<meta content="black" name="apple-mobile-web-app-status-bar-style">     
<meta content="telephone=no" name="format-detection">
<link href="{dede:global.cfg_templets_skin/}/style/style.css" rel="stylesheet" media="screen" type="text/css" />
<script type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/jquery.js"></script>

<script type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/Swipe.js"></script>
 <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
</head>
<body class="index">
{dede:include filename="head.htm"/}
<div class="main">
	<div  class="list-zone">
			{dede:arclist row="15" imgwidth='80' imgheight='60' titlelen='60' orderby="id" orderway="DESC"}
				<a href="[field:arcurl/]" class="list-item-box" title="[field:title/]">
					<dl class="list-item">
						<dt class="pic">[field:image/]</dt>
						<dd><div class="news-info">
								<div class="news-title">[field:title/]</div>
								<div class="news-info-bottom">
									<span>[field:typename/]</span><span class="news-date">[field:pubdate function="MyDate('m月d日 H:s',@me)"/]</span>
								</div>
							</div>
						</dd>
					</dl>
				</a>
                   
			{/dede:arclist}
	</div>
    
    
    <div id="morebox1">
         <div class="div_zixun newstype3">
                        <span class="newstypeicon"></span>
                        <h2><a target="_blank" href="/news/201612/330817.html">城会玩！国外美女厨娘做出能吃的《炉石传说》卡背</a></h2>
                        <p class="pic_img">
                            <a href="/news/201612/330817.html" target="_blank">
                                <img width="500" height="220" src="http://i-4.yxdown.com/2016/12/23/570c9bab-f0d3-4536-9824-70f63141c6b1.png" />
								
                            </a>
                        </p>
                        <p class="txt_zixun">暴雪卡牌游戏《炉石传说》每个月都会送天梯20级以上玩家一张卡背，今年十月的卡背是“樱桃派”，看上去非常有食欲。而随着圣诞节的临近，国外美食节目“宅娘小厨”就给大家带来炉石樱桃派的做法，一...</p>
                        <div class="bottom_p">
                            <div class="bpleft"><span>提莫队长</span><em></em><span>12/23 14:47:24</span></div>
                            <div class="bpright">
                                <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare" data="{url: 'http://www.yxdown.com/news/201612/330817.html', text: '城会玩！国外美女厨娘做出能吃的《炉石传说》卡背', pic: 'http://i-4.yxdown.com/2016/12/23/570c9bab-f0d3-4536-9824-70f63141c6b1.png'}">
                                    <span class="bds_more">更多</span>
                                </div>
                                <em></em>




                                <span>
                                <a href="/news/201612/330817.html#ANew" target="_blank">评论<font></font></a>  

                                </span>

                            </div>
                        </div>
                    </div>
        
        
        
        
    </div>
       <div id="morebox"></div>
     <div id="viewmore"> <input type="button" name="a" value="加载" onclick="loadMoreApply()"> </div>
</div>

<!--{dede:include filename="footer.htm"/}-->

  



<!-- /footer -->
<script type="text/javascript">
var loadConfig = {
				url_api:'/plus/list.php',
				typeid:1,
				page:1,
				pagesize:15,
				loading : 0,
				}
function loadMoreApply() {
    
    
        var s = document.createElement("script");
        
        s.src=url_api;
        
//                        s.src = "http://dy.www.yxdown.com/news/indexmore.json?callback=viewMoreCallback&previd=" + window.lastid;

    if (loadConfig.loading == 0) {
        var typeid = loadConfig.typeid;
        var page = loadConfig.page;
        var pagesize = loadConfig.pagesize;
        var url = loadConfig.url_api,
        data = {
            ajax: 'pullload',
            typeid: typeid,
            page: page,
            pagesize: pagesize
        };
 
        loadConfig.loading = 1;
        function ajax(url, data) {
 
            $.ajax({
                url: url,
                data: data,
                async: false,
                type: 'GET',
                dataType: 'json',
                success: function(data) {
                    addContent(data);
                }
            });
        }
        ajax(url, data);
    }

    
                            document.body.appendChild(s);
    
}
 function addContent (data){
	if(data.statu== 1){
		var data = data.list;
		var total = data.total;
		var arr=[];
		var length = data.length;
                
                
                
                
                
                
                    var frag = document.createDocumentFragment();
                
		for(var i=0;i<length;i++){
                     var div = document.createElement("div");
                    
                    
                    
              
                       div.className = "div_zixun newstype"+data[i].title;
                        var arr=[];
			    arr.push ('<span class="newstypeicon"></span>');
                        arr.push('<h2><a target="_blank" href="'+data[i].arcurl+ '">' + data[i].title + '</a></h2>');
                        arr.push ('<p class="pic_img">');
                        arr.push('<a href="' +data[i].arcurl+ '" target="_blank">');
                       arr.push('<img width="500" height="220" src="'  +data[i].picname+  '" />');    
                         arr.push('</a>');
                        arr.push('</p>');
                        if (ent.data[i].description > 96) {
                            arr.push('<p class="txt_zixun">' + ent.data[i].description + '...</p>');
                        } else {
                            arr.push('<p class="txt_zixun">' +data[i].description + '</p>');
                        }
                        arr.push('<div class="bottom_p">');
                        arr.push('<div class="bpleft"><span>' + data[i]writer + '</span><em></em><span>' + GetDateString(data[i].adddate) + '</span></div>');
                        arr.push('<div class="bpright">');
                        arr.push('<div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare" data="{url: \'http://www.yxdown.com' + data[i].arcurl + '\', text: \'' +data[i].title + '\', pic: \'' + data[i].title + '\'}">');
                        arr.push('<span class="bds_more">更多</span>');
                        arr.push('</div>');
                        arr.push('<em></em>');
                        arr.push('<span>');
                          if (ent.comNum > 0) {
                            arr.push('<a href="' + url + '#ANew" target="_blank">评论<font>(' + ent.comNum + ')</font></a>');
                        } else {
                            arr.push('<a href="' + url + '#ANew" target="_blank">评论<font></font></a>');
                        }
                        arr.push('</span>');
                        arr.push('</div>');
                        arr.push('</div>');
                        var html = arr.join('');
                        div.innerHTML = html;
                        frag.appendChild(div);
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
		
		}
                
                       document.getElementById('morebox').appendChild(frag);
		$('.list-zone').append(arr.join(''));
	   
		loadConfig.load_num = rs.load_num;
	
		if(total<loadConfig.page*loadConfig.pagesize || loadConfig.page > loadConfig.load_num){
			window.removeEventListener('srcoll',loadMoreApply,false);
		}
		loadConfig.page++;
		loadConfig.loading = 0;
                
	}
}
function pullLoad(){
	window.addEventListener('scroll', loadMoreApply, false);
}
//pullLoad()
checkMobile();

</script>
</body>
</html>
